<template>
  <div class="counterire">
    <!-- <div class="box">
        <horder class="horder">头部</horder>
        <main class="main">内容</main>
      </div> -->
      <router-view></router-view>
    <!-- <footer class="footer">
      <van-tabbar v-model="active" route>
        <van-tabbar-item to="/" icon="home-o">标签</van-tabbar-item>
        <van-tabbar-item to="/ab" icon="search">标签</van-tabbar-item>
        <van-tabbar-item to="/ac" icon="friends-o">标签</van-tabbar-item>
        <van-tabbar-item to="/ad" icon="setting-o">标签</van-tabbar-item>
      </van-tabbar>
    </footer> -->
    <router-view name="footer"></router-view>
  </div>
</template>
<script setup>
import { ref } from 'vue';

    const active = ref(0);

</script>
<style lang="scss">
* {
  margin: 0;
  padding: 0;
  list-style: none;
}

html,
body,
#app,
.counterire {
  width: 100%;
  height: 100%;
}

.counterire {
  display: flex;
  flex-direction: column;

  .box {
    flex: 1;
    flex-direction: column;
    display: flex;
    overflow: auto;

    .horder {
      height: 50px;
    }

    .main {
      flex: 1;
      overflow: auto;
    }
  }

  .footer {
    height: 50px;
  }
}
</style>
